﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BuzzwordBingo.Interface;

namespace BuzzwordBingo.Entities
{
    /// <summary>
    /// Participant, implements IParticipant, PersistenceBase
    /// </summary>
    public class Participant : PersistenceBase, IParticipant
    {
        #region constructor

        /// <summary>
        /// Initialize with email
        /// </summary>
        /// <param name="EmailAddress">participant's email</param>
        public Participant(string EmailAddress)
        {
            Email = EmailAddress;
        }

        #endregion

        #region IParticipant Members

        public string Email { get; set; }
        public IBingoCard MyBingoCard { get; set; }

        #endregion
    }
}
